package com.jb.minidvd;

import java.util.Date;

/**
 * @author ZhangXin
 * @email  sanjin6035@hotmail.com
 * DVD对象属性的定义
 */
public class DVDInfo
{
	String name;   		//存储DVD名称数组
    int state;        	//存储DVD借出状态：0已借出/1可借
    Date lendDate;    //存储DVD借出日期
    Date returnDate;	//存储DVD归还日期
    int count; 			//存储DVD的借出次数
    float oncePrice;	//借出单价
    
    
	public DVDInfo(String name,
			float oncePrice)
	{
		super();
		this.name = name;
		this.state = 1;
		this.oncePrice = oncePrice;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public int getState()
	{
		return state;
	}
	public void setState(int state)
	{
		this.state = state;
	}
	
	public Date getLendDate()
	{
		return lendDate;
	}
	public void setLendDate(Date date)
	{
		this.lendDate = date;
	}
	
	public Date getReturnDate()
	{
		return returnDate;
	}
	public void setReturnDate(Date returnDate)
	{
		this.returnDate = returnDate;
	}
	public int getCount()
	{
		return count;
	}
	public void setCount(int count)
	{
		this.count = count;
	}
	public float getOncePrice()
	{
		return oncePrice;
	}
	public void setOncePrice(float oncePrice)
	{
		this.oncePrice = oncePrice;
	}
}
